<template>
  <div class="muji-itemHeader">
    <i>&#xe604;</i>
    <h2 class="muji-itemHeader-title">{{headerData.title}}</h2>
    <div v-html="headerData.eventEl"></div>
  </div>
</template>

<script>
export default {
  name: 'itemHeader',
  data () {
    return {
      headerData: {}
    }
  },
  created () {
    this.headerData = this.$route.meta
  },
  methods: {
    goCard () {
      console.log(11122)
      this.router.push('/card')
    }
  }
}
</script>

<style lang="scss">
.muji-itemHeader{
  font-family: 'iconfont';
  width: 100%;
  height: 50px;
  display: flex;
  justify-content: space-between;
}
</style>
